package cn.xinfei.xdecision.common.model.datax.datainterface.v2.folder;

import cn.xinfei.xdecision.common.model.BaseDO;
import cn.xinfei.xdecision.common.model.component.folder.Folder;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

/**
 * 变量文件夹
 */
@Data
@TableName("t_var_folder")
public class VariableFolder extends BaseDO {

    private static final long serialVersionUID = 1L;

    /**
     * 目录名称
     * */
    private String name;

    /**
     * 父节点id
     * */
    private Long parentId;

    /**
     * 变量类型
     * */
    private String varType;

    /**
     * 子类集合
     * */
    @TableField(exist = false)
    private List<VariableFolder> children;

    /**
     * 是否为父类
     * */
    @TableField(exist = false)
    private String isParent = "true";
}
